{config_load file="$language/lang.conf" section="boxes"}
<!-- Бокс поиск -->
<div id="boxSearch">

<div id="boxSearchContent">
{$FORM_ACTION}
<ul>
	<li><a href="{$LINK_ADVANCED}" title="{#text_advanced_search#}">{#heading_search#}</a><li>
	<li class="input">{$INPUT_SEARCH}<li>
	<li class="submit">{$BUTTON_SUBMIT}<li>
</ul>
<div class="ajaxQuickFind" id="ajaxQuickFind" style="text-align: left;"></div>
{$FORM_END}
{literal}
<script language="javascript" type="text/javascript">
	function ajaxQuickFind(elt) {
//		if(ajaxQuickFindUpForm.keywords.value.length > 2)
			loadXMLDoc('ajaxQuickFind', hashFormFields(ajaxQuickFindUpForm), true);
	}
	var timeout = null;
	var ajaxQuickFindUpForm = null;
	function ajaxQuickFindUp(elt) {
		ajaxQuickFindUpForm = elt.form;
	  if (timeout) clearTimeout(timeout);
	  timeout = setTimeout('ajaxQuickFind()', 500);
	}
</script>
{/literal}
</div>
</div>
<!-- /Бокс поиск -->